package com.maybach.core.form.order;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by houenxun on 16/2/23.
 */
public class AddLoanOrderForm implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "请选择申请用户")
    private Long buyerId; // 申请者id

    private String dealerName; // 经销商名称

    private String buyerName; // 申请者名称
    private String buyerPhone; // 申请者电话

    @NotNull(message = "请选择申请业务经理")
    private String manager; //业务经理
    @NotBlank(message = "订单名称不能为空")
    private String orderName;


    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getBuyerPhone() {
        return buyerPhone;
    }

    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }
}
